package com.cicc.wm.lock.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 锁配置信息
 */
@Data
@ConfigurationProperties(prefix = "lock")
public class LockProperties {
    /**
     * Redis锁配置
     */
    private final RedisLockProperties redis = new RedisLockProperties();

    /**
     * JDBC锁配置
     */
    private final JdbcLockProperties jdbc = new JdbcLockProperties();
}
